package com.bf.electroplating.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 站点月度数据统计表
 * </p>
 *
 * @author gzd
 * @since 2025-10-20
 */
@Getter
@Setter
@TableName("site_monthly_statistics")
@Schema( description = "站点月度数据统计表")
public class SiteMonthlyStatistics implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema( description ="主键ID")
    @TableId("ID")
    private String id;

    @Schema( description ="站点ID")
    @TableField("SITE_ID")
    private Integer siteId;

    @Schema( description ="站点名称")
    @TableField("SITE_NAME")
    private String siteName;

    @Schema( description ="开始时间(格式:YYYY-MM-DD)")
    @TableField("BEGIN_TIME")
    private String beginTime;

    @Schema( description ="结束时间(格式:YYYY-MM-DD)")
    @TableField("END_TIME")
    private String endTime;

    @Schema( description ="行业ID")
    @TableField("INDUSTRY_ID")
    private Integer industryId;

    @Schema( description ="地区ID")
    @TableField("REGION_ID")
    private Integer regionId;

    @Schema( description ="统计日期(格式:YYYY-MM-DD)")
    @TableField("V_DATE")
    private LocalDate vDate;

    @Schema( description ="当日最大值")
    @TableField("V_MAX")
    private BigDecimal vMax;

    @Schema( description ="当日最小值")
    @TableField("V_MIN")
    private BigDecimal vMin;

    @Schema( description ="平均值")
    @TableField("V_AVG")
    private BigDecimal vAvg;

    @Schema( description ="当天记录数量")
    @TableField("V_NUM")
    private BigDecimal vNum;

    @Schema( description ="统计类型(01-液位 02-电导率 03-PH值 04-降雨量)")
    @TableField("STAT_TYPE")
    private String statType;

    @Schema( description ="创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @Schema( description ="创建时间")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @Schema( description ="修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @Schema( description ="修改时间")
    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    @Schema( description ="逻辑删除(0-正常 1-删除)")
    @TableField("DEL_FLAG")
    private String delFlag;

    @Schema( description ="园区ID")
    @TableField("PARK_ID")
    private String parkId;

    @Schema( description ="企业ID")
    @TableField("COMPANY_ID")
    private String companyId;

    @Schema( description ="数据来源(01-自动计算 02-手动录入)")
    @TableField("DATA_SOURCE")
    private String dataSource;

    @Schema( description ="备注")
    @TableField("REMARK")
    private String remark;
}
